package com.wuxin.ssm.mapper;

import com.wuxin.ssm.entity.Orderdetail;
import com.wuxin.ssm.entity.Xmorder;
import com.wuxin.ssm.entity.XmorderExample;
import com.wuxin.ssm.vo.OrderdetailVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XmorderMapper {


    List<Xmorder> selectByUidAndAddressid(Integer uid);

    //多条件搜索

    List<Orderdetail> selectxmorder(OrderdetailVo ordervo);




    int countByExample(XmorderExample example);

    int deleteByExample(XmorderExample example);

    int deleteByPrimaryKey(String oid);

    int insert(Xmorder record);

    int insertSelective(Xmorder record);

    List<Xmorder> selectByExample(XmorderExample example);

    Xmorder selectByPrimaryKey(String oid);

    int updateByExampleSelective(@Param("record") Xmorder record, @Param("example") XmorderExample example);

    int updateByExample(@Param("record") Xmorder record, @Param("example") XmorderExample example);

    int updateByPrimaryKeySelective(Xmorder record);

    int updateByPrimaryKey(Xmorder record);



}